package com.dao;

import com.entity.Type;

import java.sql.SQLException;
import java.util.List;

public interface TypeDao {
    abstract List<Type> typeSelectAll() throws SQLException;
    abstract Type typeSelectOne(Integer t_id) throws SQLException;
    abstract boolean insertType(String t_name) throws SQLException;
    abstract boolean updateType(Integer t_id,String t_name) throws SQLException;
    abstract boolean deleteType(Integer t_id) throws SQLException;
}
